﻿/*
 程琳  MicroHard
 创建时间:2012-10-7
 修改时间:2012-10-7
 */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microhard.Permission.Models;
using Telerik.Web.Mvc.UI;
using Microhard.Core.DBUtility;

namespace Microhard.Permission.Interface
{   
    /// <summary>
    /// 组织机构管理
    /// </summary>
    public interface IGroup : IRepository<Group>
    {
        List<Group> GetAllWithNoStruct();
        ExecutedResult AddUserInGroup(Guid userID,List<Guid> groupIDs);
        ExecutedResult DeleteUserInGroup(Guid userID, List<Guid> groupIDsToDelete);
        List<TreeViewItem> GetGroup();
        List<User> GetUserFromGroup(Guid groupID);
    }
}
